/**
 * Author(s): xuming.Wong <xuming.Wong@gmail.com>
 */
#ifndef __PQ_IMECHS_H__
#define __PQ_IMECHS_H__

#include "ClientPrerequisites.h"

#include "I_IMECHSImpl.h"

namespace PQClient
{
	/*Singleton class that mange IME chinese simplified input.
	*/
	class IMECHS
	{
	protected:
		IMECHS();
		
	public:
		~IMECHS();

		static IMECHS& getSingleton()
		{
			static IMECHS inst;
			return inst;

		}

		bool injectChar(Ogre::RenderWindow* win, uint32 code);

		bool isLock();
	protected:
		I_IMECHSImpl* _impl;
	};


}

//#define 

#endif
